package com.zhuss.product.db.dao.ext;

import com.zhuss.product.db.entity.PrelineSite;
import com.zhuss.bean.bo.product.prelinesite.SearchPrelineSiteBo;
import com.zhuss.bean.vo.product.prelinesite.ListPrelineSiteVo;
import com.zhuss.bean.vo.product.prelinesite.DetailPrelineSiteVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.product.db.dao.gen.*;

/**
 * @description: 招募站点数据库Dao
 * @author: mkh
 * @create: Mon Jan 04 13:56:24 CST 2021
 **/

@Mapper
public interface PrelineSiteDao extends PrelineSiteMapper {
	
	void create(PrelineSite record);
	
	void delete(PrelineSite record);

	List<PrelineSite> listAll();

	List<PrelineSite> listById(@Param("prelineSiteIdList") List<Long> prelineSiteIdList);
	
	List<PrelineSite> listByName(@Param("name") String name);
	
	List<ListPrelineSiteVo> list(SearchPrelineSiteBo bo);
	
	Integer countList(SearchPrelineSiteBo bo);

	DetailPrelineSiteVo detail(@Param("prelineSiteId") Long prelineSiteId);

	void deleteByPrelineId(PrelineSite record);

    List<ListPrelineSiteVo> listByprelineId(Long prelineId);
}
